home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / IDE / SUBARTIC / SUB_ARCT / OUTPUT / IGNORE_O.JAV < prev    next >
Encoding:
Text File  |  1996-10-04  |  1.8 KB  |  52 lines

  1.  
  2. package sub_arctic.output;
  3.  
  4. import java.awt.image.ImageObserver;
  5. import java.awt.Image;
  6.  
  7. /** 
  8.  * An ImageObserver object which does nothing.  This is useful if you 
  9.  * know that an image is already loaded and you don't expect any updates
  10.  * (or otherwise wouldn't know what to do with one if you got it).
  11.  *
  12.  * @see java.awt.image.ImageObserver
  13.  * @author Scott Hudson
  14.  */
  15. public class ignore_observer implements ImageObserver {
  16.  
  17.   /** Simple constructor */
  18.   public ignore_observer() { }
  19.  
  20.   /**
  21.    * Receive (and ignore) updates concerning the progress of loading the image.
  22.    *
  23.    * @param Image i     the image being ignored.
  24.    * @param int   flags indication of image state/progress.
  25.    * @param int   x     more information about the image.
  26.    * @param int   y     more information about the image.
  27.    * @param int   w     more information about the image.
  28.    * @param int   h     more information about the image.
  29.    * @return boolean always returns false indicating no additional updates are 
  30.    *                 needed
  31.    */
  32.   public boolean imageUpdate(Image i, int flags, int x, int y, int w, int h)
  33.     {return false;}
  34. }
  35.   
  36. /*=========================== COPYRIGHT NOTICE ===========================
  37.  
  38. This file is part of the subArctic user interface toolkit.
  39.  
  40. Copyright (c) 1996 Scott Hudson and Ian Smith
  41. All rights reserved.
  42.  
  43. The subArctic system is freely available for most uses under the terms
  44. and conditions described in 
  45.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  46. and appearing in full in the lib/interactor.java source file.
  47.  
  48. The current release and additional information about this software can be 
  49. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  50.  
  51. ========================================================================*/
  52.